package com.springboot.tools.listener;

import jakarta.servlet.http.HttpSessionBindingEvent;
import jakarta.servlet.http.HttpSessionBindingListener;
import lombok.Data;

@Data
public class User implements HttpSessionBindingListener {
    private String username;
    private String paswrod;

    @Override
    public void valueBound(HttpSessionBindingEvent arg0) {
        System.out.println("valueBound name" + arg0.getName());
    }

    @Override
    public void valueUnbound(HttpSessionBindingEvent arg0) {
        System.out.println("valueUnbound name" + arg0.getName());

    }

}
